HappyDoc Generated Documentation .\AddH

. / AddH 

Add hydrogens to structures

Functions   
  bondWithHLength 
bondWithHLength ( heavy,  idatmType )
  hbondAddHydrogens 
hbondAddHydrogens ( models,  unknownsInfo={} )

Add hydrogens to given models, trying to preserve H-bonding

  determineNamingSchemas 
determineNamingSchemas ( molecule,  typeInfo )

Determine for each residue, method for naming hydrogens

The two possible schemas are: replace -- put H in place of element name prepend -- put H in front of entire atom name

In both cases, a number will be appended if more than one hydrogen is to be added.

Replace is the preferred scheme and is used when the heavy atoms have been given reasonably distinctive names. Prepend is used mostly in small molecules where the atoms have names such as C1, C2, C3, N1, N2, etc. and replace would not work.

  gatherUnknowns 
gatherUnknowns ( models,  prevUnknowns=[] )

Find atoms whose hydrogen-adding geometries are unknown

  cmdAddH 
cmdAddH ( molecules=None,  hbond=False )
  simpleAddHydrogens 
simpleAddHydrogens ( models,  unknownsInfo={} )

Add hydrogens to given models using simple geometric criteria

Geometric info for atoms whose IDATM types don't themselves provide sufficient information can be passed via the unknownsInfo dictionary. The keys are atoms and the values are dictionaries specifying the geometry and number of substituents (not only hydrogens) for the atom.

This routine adds hydrogens immediately even if some atoms have unknown geometries. To allow the user to intervene to specify geometries, use the initiateAddHyd function of the unknownsGUI module of this package.

  roomiest 
roomiest (
        positions,
        attached,
        checkDist,
        )
  newHydrogen 
newHydrogen (
        parentAtom,
        Hnum,
        totalHydrogens,
        namingSchema,
        pos,
        )
  findNearest 
findNearest (
        pos,
        atom,
        exclude,
        checkDist,
        )
Classes   

IdatmTypeInfo

Python files   

ChimeraExtension.py

gui.py

hbond.py

simple.py

unknownsGUI.py

GUI to query user for hydrogen-addition info of non-IDATMed atoms

Subdirectories   

helpdir


This document was automatically generated Thu Feb 02 15:18:19 2006 by HappyDoc version 3.0.a1